import request from '@/utils/request'

export const getTicketList = (params) => {
  return request({
    url: '/online/developer-admin/ticket',
    method: 'get',
    params
  })
}

export const getTicketDetail = (ticketId) => {
  return request({
    url: `/online/developer-admin/ticket/${ticketId}`,
    method: 'get'
  })
}
